import request from '@/utils/request'

// 获取任务日志列表
export const getTaskLogList = (params) => {
  return request.get('/dataTaskLog/list', params)
}
// 添加任务日志
export const addTaskLog = (data) => {
  return request.post('/dataTaskLog/add', data)
}
// 编辑任务日志
export const updateTaskLog = (data) => {
  return request.put('/dataTaskLog/update', data)
}
// 删除任务日志
export const deleteTaskLog = (id) => {
  return request.delete(`/dataTaskLog/delete/${id}`, id)
}
// 根据id查询任务日志
export const getTaskLogById = (id) => {
  return request.get(`/dataTaskLog/select/${id}`, id)
}
